#pragma once
#include <gl/glew.h>
#include <gl/wglew.h>

#include <vector>
#include <oglRenderer/pixelformat.h>


class Win32oglDriver
{
public:

	static Win32oglDriver& GetInstance(){ return  m_Instance; }
	bool Init();
	bool IsInitialised()const{ return m_bInitialised; }

	void InitSupportPixelFormats(HDC hdc);
private:
	Win32oglDriver(){ m_bInitialised = false; }
	bool m_bInitialised;
	static Win32oglDriver m_Instance;

	std::vector<Win32oglPixelFormat> m_vSupportPixelFormat;

};
#define WGLDRIVER Win32oglDriver::GetInstance()